package com.xiaoge.system.service;

import com.xiaoge.system.entity.Log;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.scheduling.annotation.Async;

/**
 * <p>
 * 操作日志表 服务类
 * </p>
 *
 * @author xiaoge
 * @since 2021-02-27
 */
public interface LogService extends IService<Log> {

    /**
     * 异步保存操作日志
     */
    @Async("CodeAsyncThreadPool")
    void saveLog(Log log);
}
